<script type="text/javascript">		
	var popup_act_flg="{:C('URL_MODEL')}"=="0"?"&":"?";
	
	function open_popup_faccmas(args)
	{
		open_popup_window("{:U('Finance/faccmas_popup')}"+popup_act_flg+args);
	}
	function open_popup_currmas(args)
	{
		open_popup_window("{:U('Finance/currmas_popup')}"+popup_act_flg+args);
	}
	function open_popup_customer(args)
	{
		open_popup_window("{:U('Customer/customer_popup')}"+popup_act_flg+args);
	}
	function open_popup_supplier(args)
	{
		open_popup_window("{:U('Supplier/supplier_popup')}"+popup_act_flg+args);
	}
	function open_popup_stkmas(args)
	{
		open_popup_window("{:U('Stk/stkmas_popup')}"+popup_act_flg+args);
	}
	function open_popup_whmas(args)
	{
		open_popup_window("{:U('Warehouse/whmas_popup')}"+popup_act_flg+args);
	}
	function open_popup_stkiotype(args)
	{
		open_popup_window("{:U('Warehouse/iotype_popup')}"+popup_act_flg+args);
	}
	function open_popup_account(args)
	{
		open_popup_window("{:U('Index/account_popup')}"+popup_act_flg+args);
	}
	
	function open_popup_window(url){
			$('#frm_popup_window1').attr("src",url);
			$('#w_popup').window('open');
	}
	function close_popup_window(){
			$('#frm_popup_window1').attr("src","about:blank");
			$('#w_popup').window('close');
	}
</script>
<div id="w_popup" class="easyui-window" closed="true" modal="true" minimizable="false" maximizable="false" collapsed="false" title="对话框..." style="width:650px;height:450px;">
	<iframe id="frm_popup_window1" name="frm_popup_window1" width="100%" height="100%" src="about:blank" frameborder="0" />
</div>